-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[IRGen] Disable pre-specialization for 32-bit ARM on Linux #36658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is a temporary workaround for segfaults we observed in TargetMetadata, caused by invalid pointers.
|
@swift-ci smoke test |
|
cc: @buttaface |
nate-chandler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
|
@swift-ci smoke test |
|
@swift-ci smoke test windows |
|
I will apply this patch to my Android armv7 build of Swift 5.4 and see if it fixes it. The problem is definitely in |
|
@swift-ci smoke test |
|
@swift-ci smoke test linux |
|
@swift-ci smoke test linux platform |
|
I applied this pull to the Mar. 10 Swift 5.4 snapshot for Android armv7 and With the Swift stdlib built in release mode, I get this backtrace for I ran the Swift compiler in lldb and checked the result of this modified |
|
That |
|
Oh, my mistake, I'm cross-compiling the Swift stdlib on a linux x86_64 host with a prebuilt official dev snapshot compiler that doesn't have this patch, then running that stlib on Android armv7. I wasn't thinking through how the stdlib was actually compiled without this patch, never mind. |
This is a temporary workaround for segfaults we observed in TargetMetadata,
caused by invalid pointers.